home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 95 API Bible
/
Windows 95 API Bible 3 Disc Set.iso
/
Win32 API Bible Book 2 of 3
/
CHAPTER3
/
GETINFO.RC
< prev
next >
Wrap
Text File
|
1996-03-06
|
2KB
|
56 lines
#include "windows.h"
#include "getinfo.h"
#include "winver.h"
MYAPP ICON DISCARDABLE "GENERIC.ICO"
MYAPP MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New", IDM_NEW
MENUITEM "&Open", IDM_OPEN
MENUITEM SEPARATOR
MENUITEM "&Save", IDM_SAVE
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", IDM_LARGEICON
MENUITEM "S&mall Icons", IDM_SMALLICON
MENUITEM "&List" IDM_LISTVIEW
MENUITEM "&Details", IDM_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About TTM_GETTOOLINFO...", IDM_ABOUT
END
END
STRINGTABLE
BEGIN
IDM_NEW "New"
IDM_OPEN "Open"
IDM_SAVE "Save"
IDM_LARGEICON "Large Icons"
IDM_SMALLICON "Small Icons"
IDM_LISTVIEW "List"
IDM_REPORTVIEW "Report"
END
ABOUTBOX DIALOG 22, 17, 171, 43
STYLE DS_MODALFRAME | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU
CAPTION "TTM_TTM_GETTOOLINFO"
FONT 8, "Helv"
{
CONTROL "MyApp", -1, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 3, 2, 16, 16
CONTROL "Common Controls Example", DLG_VERFIRST, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 28, 4, 100, 8
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 116, 26, 50, 14
}